home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / demo / script-21 < prev    next >
Encoding:
Text File  |  1992-08-27  |  155 b   |  6 lines

  1. define rule example_2 is
  2. on retrieve to emp.salary where current.name = "bill"
  3. do instead retrieve (salary = 3 * emp.salary) where emp.name = "sharon"
  4.  
  5. \g
  6.